.http-request-case {
  padding: 8px;
  border-radius: 4px;
  background-color: #f5f5f5;
}

.http-request-info {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 4px;

  .method {
    padding: 2px 6px;
    margin-right: 8px;
    background: #1677ff;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
  }

  .url {
    flex: 1;
    font-size: 12px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.lim_title {
  color: rgba(28, 29, 35, 0.6);
  font-size: 14px;
  line-height: 22px;
  margin: 8px 0 16px 0;
}

.body-type-radio {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  
  .ant-radio-wrapper {
    margin-right: 0;
    padding: 2px;
    border-radius: 0;
    border: 1px solid #d9d9d9;
    border-right: none;
    white-space: nowrap;
    font-size: 13px;
    user-select: none;  // 添加这行
    cursor: pointer;    // 添加这行
    
    &:hover {
      border-color: #1677ff;
      color: #1677ff;
    }
    
    &.ant-radio-wrapper-checked {
      background: #e6f4ff;
      border-color: #1677ff;
      color: #1677ff;
    }

    &:first-child {
      border-top-left-radius: 4px;
      border-bottom-left-radius: 4px;
    }

    &:last-child {
      border-right: 1px solid #d9d9d9;
      border-top-right-radius: 4px;
      border-bottom-right-radius: 4px;
      
      &:hover {
        border-right-color: #1677ff;
      }
      
      &.ant-radio-wrapper-checked {
        border-right-color: #1677ff;
      }
    }

    .ant-radio {
      display: none;
    }
  }
}
